body {
    padding: 0.5em;
}

#header {
    padding: 0 1em;
}

#content {
    min-height: 15em;
}

.menu {
    float: right;
}

.menu li {
    list-style: none;
}

.langs {
    margin-top: 0.5em;
    text-align: right;
}

#footer {
    padding: 0.5em 1em 0 1em;
    color: #555;
    margin-top: 5em;
    font-size: 0.85em;
    border-top: 1px solid #ddd;
    text-align: center;
}

.error {
    color: red;
}

.vertical-form {
    margin: 4em auto 1em auto;
    width: 40em;
}

.vertical-form .field-name {
    text-align: right;
    padding-right: 1em;
    width: 27em;
}

.vertical-form td {
    padding: 0.5em 0.2em 0 0.2em;
    text-align: left;
}

.vertical-form input.textbox {
    width: 25em;
}

.vertical-form input.button {
    padding: 0 2em;
}

.vertical-form td.buttons {
    padding-top: 1em;
    text-align: center;
}

.login-form {
    margin-top: 10em;
}

.register-form {
    margin-top: 10em;
}

.under {
    font-size: 0.75em;
    position: relative;
    bottom: 0.5em;
}

.caption {
    margin: 2em 0 0.25em 1em;
    font-size: 1.25em;
}

.caption a, .caption span {
    margin-right: 0.5em;
}

.grid {
    width: 98%;
    margin: 4px 12px 0 12px;
}

.grid caption {
    border: 1px solid #B2B2B2;
    border-bottom: none;
    background: #e5ecf9;
    padding: 3px 5px;
    text-align: left;
    margin-right: -1px;
}

.grid tr td {
    font-size: 10px;
    border: 1px solid #B2B2B2;
    text-align: center;
    padding: 0.25em 0.5em;
}

.grid tr th {
    font-size: 100%;
    border: 1px solid #B2B2B2;
    text-align: center;
    padding: 0.25em;
    color: rgb(0, 0, 204);
    background-color: #e5ecf9;
    font-weight: bold;
}

.authored {
    background-color: #f4f4f4;
}

.centered {
    text-align: center;
}

.actions {
    float: right;
    margin-right: 0.75em;
    font-size: 1.25em;
}

.add-post-form {
    width: 40em;
}

.textarea {
    width: 40em;
    height: 10em;
}

.blue-box .t {
    border: 1px solid #c3d9ff;
    background-color: #e5ecf9;
}

.gray-box .t {
    border: 1px solid #909090;
    background-color: #f0f0f0;
}

.white-box .t {
    border: 1px solid #909090;
    background-color: white;
}

.brown-box .t {
    border: 1px solid rgb(204, 204, 204);
    background-color: rgb(248, 233, 161);
}

.color-box {
    z-index: 2;
    margin: 1em;
    position: relative;
}

.t {
    position: absolute;
}

.color-box .t1 {
    z-index: -2;
    border-width: 1px 0;
    top: -1px;
    bottom: -1px;
    left: 0;
    right: 0;
}

.color-box .t2 {
    z-index: -2;
    border-width: 0 1px;
    top: 0;
    bottom: 0;
    left: -1px;
    right: -1px;
}

.color-box .t3 {
    z-index: -1;
    border-width: 0 1px;
    top: 2px;
    bottom: 2px;
    left: -2px;
    right: -2px;
}

.color-box .t4 {
    z-index: -1;
    border-width: 1px 0;
    top: -2px;
    bottom: -2px;
    left: 2px;
    right: 2px;
}

.color-box .text {
    padding: 6px;
}

a.active {
    font-weight: bold;
}

ul.menu li {
    float: right;
    margin-left: 2em;
}

.success-message {
    color: green;
    font-weight: bold;
}

.message-box-wrapper {
    position: absolute;
    width: 95%;
}

.message-box {
    width: 25em;
    margin: 1em auto;
    text-align: center;
}

div.rulesHeaderContainer {
    margin-top: 5em;
}
